package com.jiuli_travel.attraction_service.service;

import com.jiuli_travel.attraction_service.model.dto.attraction.AttractionInsertRequest;
import com.jiuli_travel.attraction_service.model.dto.attraction.AttractionQueryRequest;
import com.jiuli_travel.attraction_service.model.entity.Attraction;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiuli_travel.attraction_service.model.vo.AttractionVO;
import com.jiuli_travel.utils.PageDTO;

import java.util.List;

/**
 * <p>
 * 景点表 服务类
 * </p>
 *
 * @author jiuli
 * @since 2024-04-15
 */
public interface IAttractionService extends IService<Attraction> {

    /**
     * 文本搜索景区内容
     */
    public List<AttractionVO> searchAttraction(String searchText);

    /**
     * 发布个人 attraction （user）
     */
    public void publishAttraction(AttractionInsertRequest attractionInsertRequest);

    /**
     * 删除个人 attraction （根据 attractionId） （user/admin）
     */
    public void batchDelAttraction(List<Long> attractionIds);

}
